package com.macro.mall.dao.sms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.sms.SmsFlashPromotionSessionDO;
import com.macro.mall.model.sms.SmsFlashPromotionSessionQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SmsFlashPromotionSessionMapper extends BaseMapper<SmsFlashPromotionSessionDO> {
    long countByExample(SmsFlashPromotionSessionQuery example);

    int deleteByExample(SmsFlashPromotionSessionQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(SmsFlashPromotionSessionDO record);

    int insertSelective(SmsFlashPromotionSessionDO record);

    List<SmsFlashPromotionSessionDO> selectByExample(SmsFlashPromotionSessionQuery example);

    SmsFlashPromotionSessionDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SmsFlashPromotionSessionDO record, @Param("example") SmsFlashPromotionSessionQuery example);

    int updateByExample(@Param("record") SmsFlashPromotionSessionDO record, @Param("example") SmsFlashPromotionSessionQuery example);

    int updateByPrimaryKeySelective(SmsFlashPromotionSessionDO record);

    int updateByPrimaryKey(SmsFlashPromotionSessionDO record);
}
